body {
      background-color: black;
      color: white;
      font-family: 'Lucida Grande', Verdana, Arial;
      font-size: 12px;
      background-image: -webkit-gradient(radial,
                            50% 500, 1,
                            50% 500, 400,
                            from(rgba(255, 255, 255, 0.3)),
                            to(rgba(255, 255, 255, 0)));
     background-repeat: no-repeat;
    }
#container {
  width: 100%;
  height: 700px;
  -webkit-perspective: 800; /* For compatibility with iPhone 3.0, we leave off the units here */
  -webkit-perspective-origin: 50% 225px;
  z-index:100;
}
#stage {
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 2s;
  -webkit-transform-style: preserve-3d;
}
#shape {
	position: relative;
	top: 160px;
	margin: 0 auto;
	height: 200px;
	width: 200px;
	-webkit-transform-style: preserve-3d;
}

.plane {
	position: absolute;
	height: 250px;
	width: 250px;
	border: 1px solid white;
	-webkit-border-radius: 12px;
	-webkit-box-sizing: border-box;
	text-align: center;
	font-family: Times, serif;
	font-size: 124pt;
	color: black;
	background-color: rgba(255, 255, 255, 0.6);
	-webkit-transition: -webkit-transform 2s, opacity 2s;
	-webkit-backface-visibility: hidden;
}

#shape.backfaces .plane {
	-webkit-backface-visibility: visible;
}

#shape {
	-webkit-animation: spin 38s infinite linear;
}

@
-webkit-keyframes spin {from { -webkit-transform:rotateY(0);
	
}

to {
	-webkit-transform: rotateY(-360deg);
}

}

/* ---------- cube styles ------------- */
.cube>.one {
	opacity: 0.5;
	-webkit-transform: scale3d(1.2, 1.2, 1.2) rotateX(90deg)
		translateZ(125px);
}

.cube>.two {
	opacity: 0.5;
	-webkit-transform: scale3d(1.2, 1.2, 1.2) translateZ(125px);
}

.cube>.three {
	opacity: 0.5;
	-webkit-transform: scale3d(1.2, 1.2, 1.2) rotateY(90deg)
		translateZ(125px);
}

.cube>.four {
	opacity: 0.5;
	-webkit-transform: scale3d(1.2, 1.2, 1.2) rotateY(180deg)
		translateZ(125px);
}

.cube>.five {
	opacity: 0.5;
	-webkit-transform: scale3d(1.2, 1.2, 1.2) rotateY(-90deg)
		translateZ(125px);
}

.cube>.six {
	opacity: 0.5;
	-webkit-transform: scale3d(1.2, 1.2, 1.2) rotateX(-90deg)
		translateZ(125px) rotate(180deg);
}

.cube>.seven {
	-webkit-transform: scale3d(0.8, 0.8, 0.8) rotateX(90deg)
		translateZ(125px) rotate(180deg);
}

.cube>.eight {
	-webkit-transform: scale3d(0.8, 0.8, 0.8) translateZ(125px);
}

.cube>.nine {
	-webkit-transform: scale3d(0.8, 0.8, 0.8) rotateY(90deg)
		translateZ(125px);
}

.cube>.ten {
	-webkit-transform: scale3d(0.8, 0.8, 0.8) rotateY(180deg)
		translateZ(125px);
}

.cube>.eleven {
	-webkit-transform: scale3d(0.8, 0.8, 0.8) rotateY(-90deg)
		translateZ(125px);
}

.cube>.twelve {
	-webkit-transform: scale3d(0.8, 0.8, 0.8) rotateX(-90deg)
		translateZ(125Px);
}

/* ---------- ring styles ------------- */
.ring>.one {
	-webkit-transform: translateZ(500px);
}

.ring>.two {
	-webkit-transform: rotateY(30deg) translateZ(500px);
}

.ring>.three {
	-webkit-transform: rotateY(60deg) translateZ(500px);
}

.ring>.four {
	-webkit-transform: rotateY(90deg) translateZ(500px);
}

.ring>.five {
	-webkit-transform: rotateY(120deg) translateZ(500px);
}

.ring>.six {
	-webkit-transform: rotateY(150deg) translateZ(500px);
}

.ring>.seven {
	-webkit-transform: rotateY(180deg) translateZ(500px);
}

.ring>.eight {
	-webkit-transform: rotateY(210deg) translateZ(500px);
}

.ring>.nine {
	-webkit-transform: rotateY(-120deg) translateZ(500px);
}

.ring>.ten {
	-webkit-transform: rotateY(-90deg) translateZ(500px);
}

.ring>.eleven {
	-webkit-transform: rotateY(300deg) translateZ(500px);
}

.ring>.twelve {
	-webkit-transform: rotateY(330deg) translateZ(500px);
}

.controls {
	width: 80%;
	margin: 0 auto;
	padding: 5px 20px;
	-webkit-border-radius: 12px;
	background-color: rgba(255, 255, 255, 0.5);
}

.controls>div {
	margin: 10px;
}